Add a custom join_paths function to wrap the error
authorAlex Crichton <alex@alexcrichton.com>
Thu, 30 Oct 2014 00:56:07 +0000 (17:56 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Mon, 3 Nov 2014 01:10:36 +0000 (17:10 -0800)
commitc5e0280a061ba31f2926afd6e5d99380206ac743
tree9c7a0da274aeaf31b42c4ac72cc2ef7dd96ac7cf
parent603f29d3421d5aa7396dc57f966e8a80e86d5e0d
Add a custom join_paths function to wrap the error

This helps us not unwrap() and rather propagate the error upwards.

Closes #488
src/cargo/ops/cargo_run.rs
src/cargo/ops/cargo_rustc/compilation.rs
src/cargo/ops/cargo_rustc/mod.rs
src/cargo/ops/cargo_test.rs
src/cargo/util/mod.rs
src/cargo/util/paths.rs